function RefRate()
{
	$.getJSON("op.php?op=xml_3d&fp=rate_sb&playtype="+playtype+"&lotto_id_sb="+lotto_id+"&gametype="+gametype+"&disk="+$("#select_disk").val(),null,function(r){
		for(i=1;i<=6;i++)
		{
			ChangeRate("rr0_0"+i,r["r0"].rates[i-1]);	
			ChangeRate("rr3_0"+i,r["r3"].rates[i-1]);	
			ChangeRate("rr4_0"+i,r["r4"].rates[i-1]);
		}
		for(i=1;i<=15;i++)
			ChangeRate("rr6_"+((i<=9?"0":"")+i),r["r6"].rates[i-1]);	
		for(i=1;i<=14;i++)
			ChangeRate("rr7_"+((i<=9?"0":"")+i),r["r7"].rates[i-1]);	
		ChangeRate("rr1_01",r["r1"].rates[0]);	
		ChangeRate("rr1_02",r["r1"].rates[1]);	
		ChangeRate("rr8_01",r["r8"].rates[0]);	
		ChangeRate("rr8_02",r["r8"].rates[1]);	
		ChangeRate("rr5_01",r["r5"].rates[0]);	
		window.setTimeout("ClearColor()",1000);
	});	
}